package com.njtoyo.taxi.admin.mapper.master.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CouponPurchaseRule {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String title;
    private BigDecimal amount;
    private Integer quantity;
    private Integer effectiveDay;
    private Integer customerRegionId;
    private Integer limitDay;
    private Boolean isActive;
    private Date createdAt;
    private Date updatedAt;

    @TableField(exist = false)
    private String customerRegion;

}
